﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/Site.Master" AutoEventWireup="true" CodeBehind="AdicionarRevenda.aspx.cs" Inherits="Ecommerce.Admin.Paginas.AdicionarRevenda" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

<div id="box_toolbox">
        <div id="div_toolbox_titulo">
            <asp:Label ID="lblTituloMenu" runat="server" Text="Adicionar uma nova revenda"></asp:Label>
        </div>
        <div id="div_toolbox_botoes">
            <asp:Button ID="btnSalvar" runat="server" CssClass="Botao_Toolbox" 
                Text="Salvar" onclick="btnSalvar_Click" />
        </div>
    </div>
    <asp:HiddenField ID="hddIdentificador" runat="server" />
    <table cellpadding="2" cellspacing="2">
        <tr>
            <td>
                <asp:Label ID="lblRazaoSocial" runat="server" CssClass="Label_Formulario" Text="Razao Social:"></asp:Label></td>
            <td>
                <asp:TextBox ID="txtRazaoSocial" CssClass="Textbox" runat="server" MaxLength="200" Width="400px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" CssClass="Campo_Obrigatorio"
                            ControlToValidate="txtRazaoSocial" ErrorMessage="RequiredFieldValidator">*</asp:RequiredFieldValidator>
                </td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="lblNomeFantasia" runat="server" CssClass="Label_Formulario" Text="Nome Fantasia:"></asp:Label></td>
            <td>
                <asp:TextBox ID="txtNomeFantasia" CssClass="Textbox" Width="400px" MaxLength="200" runat="server"></asp:TextBox></td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="lblCNPJ" runat="server" CssClass="Label_Formulario" Text="CNPJ:"></asp:Label></td>
            <td>
                <asp:TextBox ID="txtCNPJ" CssClass="Textbox" runat="server" MaxLength="14"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" CssClass="Campo_Obrigatorio"
                    ControlToValidate="txtCNPJ" ErrorMessage="RequiredFieldValidator">*</asp:RequiredFieldValidator>    
            </td>
        </tr>
            
        <tr>
            <td>
                <asp:Label ID="lblInscricaoEstadual" CssClass="Label_Formulario" runat="server" Text="Inscricao Estadual:"></asp:Label></td>
            <td>
            
                <asp:TextBox ID="txtInscricaoEstadual" CssClass="Textbox" MaxLength="15" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="lblCodigo" runat="server" CssClass="Label_Formulario" Text="Código:"></asp:Label></td>
            <td>
                <asp:TextBox ID="txtCodigo" CssClass="Textbox" MaxLength="20" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="lblWebSite" runat="server" CssClass="Label_Formulario" Text="WebSite:"></asp:Label></td>
            <td>
                <asp:TextBox ID="txtWebSite" CssClass="Textbox" width="200px" MaxLength="200" runat="server"></asp:TextBox></td>
        </tr>

        <tr>
            <td>
                <asp:Label ID="lblComentario" runat="server" CssClass="Label_Formulario" Text="Comentário:"></asp:Label></td>
            <td>
                <asp:TextBox ID="txtComentario" CssClass="Textbox" TextMode="MultiLine" Width="300px" MaxLength="500" Height="40px" runat="server"></asp:TextBox>
            </td>
        </tr>

        <tr>
            <td>
                <asp:Label ID="lblAtivo" runat="server" CssClass="Label_Formulario" Text="Ativo:"></asp:Label></td>
            <td>
                <asp:CheckBox ID="chkAtivo" runat="server" />
            </td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="Label3" runat="server" CssClass="Label_Formulario" Text="Nome Contato:"></asp:Label></td>
            <td>
                <asp:TextBox ID="txtNomContato" CssClass="Textbox" runat="server" MaxLength="50" Width="200px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" CssClass="Campo_Obrigatorio"
                            ControlToValidate="txtNomContato" ErrorMessage="RequiredFieldValidator">*</asp:RequiredFieldValidator>
                </td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="Label1" runat="server" CssClass="Label_Formulario" Text="Login:"></asp:Label></td>
            <td>
                <asp:TextBox ID="txtLogin" CssClass="Textbox" runat="server" MaxLength="50" Width="200px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" CssClass="Campo_Obrigatorio"
                            ControlToValidate="txtLogin" ErrorMessage="RequiredFieldValidator">*</asp:RequiredFieldValidator>
                </td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="Label2" runat="server" CssClass="Label_Formulario" Text="Senha:"></asp:Label></td>
            <td>
                <asp:TextBox ID="txtSenha" TextMode="Password" MaxLength="10" CssClass="Textbox" runat="server" Width="200px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" CssClass="Campo_Obrigatorio"
                            ControlToValidate="txtSenha" ErrorMessage="RequiredFieldValidator">*</asp:RequiredFieldValidator>
                </td>
        </tr>
    </table>

</asp:Content>
